package com.jdym.back.service.impl;

import com.jdym.back.entity.Check;
import com.jdym.back.mapper.CheckMapper;
import com.jdym.back.service.CheckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 认证资质审核记录表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Service
public class CheckServiceImpl extends ServiceImpl<CheckMapper, Check> implements CheckService {
    @Autowired
    CheckMapper checkMapper;

    @Override
    public Check selectCheck(int cheId) {
    return checkMapper.selectCheck(cheId);
    }

    @Override
    public void updataCheckStatus(int cheId) {
        checkMapper.updataCheckStatus(cheId);

    }

    @Override
    public void updataCheckStatus2(int checkId) {
        checkMapper.updataCheckStatus2(checkId);
    }
}
